For the same reason we do in the rpm-ostree tests. This also
made sure the test run worked when I was offline on a plane.
Closes: #1583
Approved by: jlebon
use_git_build: True
tests: "."
tasks:
+ - import_tasks: tasks/disable-all-rpmmd-repos.yml
- import_tasks: tasks/query-host.yml
- set_fact:
rpmostree_initial_deployment: "{{ rpmostree_status[\"deployments\"][0] }}"
--- /dev/null
+- name: Disable all rpmmd repos
+ shell: |
+ for x in /etc/yum.repos.d/*.repo; do
+ sed -i -e 's,^enabled=,enabled=0,g' $x
+ done